<template>
  
</template>
<script lang='ts'>
// @ is an alias to /src
import { defineComponent, onMounted, nextTick } from 'vue'
import $ from "jquery"
export default defineComponent({
  // 已启用类型推断 
  name: '', components: {},
  setup() {
    console.log($);

    onMounted(async () => {
      await nextTick();
      console.log($("#123").text());
    })
  }
})</script>
<style scoped></style>